Skip to content

Conversation

@savannahostrowski
Copy link
Member

@savannahostrowski savannahostrowski commented Sep 17, 2024

This PR clarifies the nuances of setting defaults at the parser and argument level using argparse.


📚 Documentation preview 📚: https://cpython-previews--124154.org.readthedocs.build/

@savannahostrowski savannahostrowski added the docs Documentation in the Doc dir label Sep 17, 2024
Copy link
Member

@CAM-Gerlach CAM-Gerlach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Stock reminder: You can apply my suggestions with one click using the Commit suggestion button :)

I agree with the change overall, though I left a suggestion to make it substantially shorter, simpler and clearer, which hopefully helps address others' concerns about overcomplicating the docs. Thanks!

Co-authored-by: C.A.M. Gerlach <[email protected]>
@serhiy-storchaka
Copy link
Member

@hpaulj, does this change satisfy your criteria?

@savannahostrowski savannahostrowski linked an issue Oct 18, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

argparse set_defaults

3 participants